/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.pipeparser.util;

/**
 *
 * @author carlos
 */
public class Wire {
    public String fromModule = null;
    public String fromPort = "";

    public String toModule = null;
    public String toPort = "";

    public Wire(String fromModule, String fromPort, String toModule,
            String toPort){

        this.fromModule = fromModule;
        this.fromPort = fromPort;
        
        this.toModule = toModule;
        this.toPort = toPort;

    }

    
    public String toString(){
        return "from [" + fromModule + "," + fromPort + "]" +
                " to [" + toModule + "," + toPort + "]";

    }
}
